package com.lq.educationsystem.student.feign;

import com.lq.educationsystem.common.entiy.TeacherTb;
import com.lq.educationsystem.common.util.Result;
import com.lq.educationsystem.common.util.ResultPage;
import com.lq.educationsystem.common.vo.TeacherPageVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Component
@FeignClient(name = "lq-teacher",url = "http://localhost:11000/")
public interface TeacherFeign {

    //通过teacher_id批量查询
    @RequestMapping("/teacher/base/query/batch/teacher")
    public ResultPage<TeacherTb> queryBatchTeacherInfoByTeacherIdList(@RequestBody List<Integer> teacherIdListInfo);
}
